package org.darkforest.common.services;

import org.darkforest.model.Address;
import org.darkforest.model.AddressVo;
import org.darkforest.model.DAddress;
import org.darkforest.model.Express;
import org.darkforest.model.Order;
import org.darkforest.model.OrderCommon;
import org.darkforest.model.OrderSearchBean;
import org.darkforest.model.OrderVo;
import org.darkforest.model.Store;
import org.darkforest.model.StoreWithBLOBs;

import java.util.List;

/**
 * Created by valentina on 15/1/18.
 * 商户基本信息操作
 */
public interface DeliverService {
    public List selectAddress(int shopId);
    public int insertAddress(DAddress address);
    public DAddress selectByPrimaryKey(int addressId);
    public int updateAddress(DAddress address);
    public int deleteAddress(int addressId);



    public List selectAllExpress();
    public List selectAllUsedExpress();
    Express selectByExpressId(int expressId);
    public void updateEOrders(List list);
    void updateDefault();
    Store getSoreByid(int id);
    public List selectAllStore();
    int updateStore(StoreWithBLOBs store);
    public List selectAllOfExpress(List list);

    public List<Express> getStoreExpress(Integer storeId);
}
